﻿<%@ Page Language="C#" AutoEventWireup="true" Inherits="Pages_City_UpdateCity" Codebehind="CityUpdate.aspx.cs" MasterPageFile="~/Pages/Master/MainAdmin.Master" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
        <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
        <fieldset id="pageLoad">
        <div id="fillInData">
           <h1>Alteração de Cidade</h1>
           <asp:ValidationSummary ID="vsCity" runat="server" 
                CssClass="validation message" />
           <div class="fillInDataField">
                <div class="label">
                    <label for="txbDescricao">Cidade</label>
                </div>
                <asp:TextBox ID="txbCity" runat="server" CssClass="component small" MaxLength="50"></asp:TextBox>
                <asp:RequiredFieldValidator ID="rfvCity" runat="server" 
                    ControlToValidate="txbCity" ErrorMessage="Preencha o nome da Cidade." 
                    CssClass="validation">*</asp:RequiredFieldValidator>
           </div>
           
           <div class="fillInDataField">
                <div class="label">
                    <label for="ddlStates">Estado</label>
                </div>
                <asp:DropDownList ID="ddlState" runat="server" CssClass="component small"></asp:DropDownList>
           </div>
                <asp:Button ID="btnSave" runat="server" Text="Salvar" 
                onclick="btnSave_Click" CssClass="button open" />
        </div>
        <fieldset id="Fieldset1">
</asp:Content>